app = new Vue({
	el: "#app",
	data: {
		show: false,
		actions: [],
		active: 0,
	},

	methods: {

		async back() {
			window.location.href = '../service/ph_application.html';
		},
		alertMenu() {
			this.show = true;
			this.actions = [{
					name: "通过",
					color: "#F8F9FA",
					className: "actclass"
				},
				{
					name: "驳回",
					color: "#F8F9FA",
					className: "act"
				},
				{
				name: "取消",
				color: "#F8F9FA",
				className: "delet"
				}
			]
		},
		onSelect(item) {
			console.log(item);
			this.show = false;

			this.$toast({
				message: item.name,
				duration: 500,

			})
		},
		// toCancel() {
		// 	console.log('点击了取消');
		// }


	}

});
